home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Clear / DLL / MkOs
Text File  |  1995-09-04  |  2KB  |  113 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Create    \
  4.             o.Free    \
  5.             o.Init    \
  6.             o.Load    \
  7.             o.Save    \
  8.  
  9.  
  10. LibName        =    Clear
  11.  
  12.  
  13.  
  14. # Template makefile to make all .o files
  15. # for a DeskLib sublibrary. Compilation 
  16. # is for static linking inside a DLL.
  17.  
  18. # The macro $(ObjectFiles) should be set at the 
  19. # start of this file, to be a space-separated
  20. # list of object files.
  21. # This is done by 'Makatic'.
  22.  
  23. # The macro $(LibName) should also be set at the 
  24. # start of this file, to be the name of the 
  25. # DeskLib sublibrary.
  26.  
  27. # Compiler flags, These can be anything. 
  28. # All essential flags (eg CC -zM
  29. # are included in the macro $(CC).
  30. #
  31. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  32. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  33.  
  34. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  35. ASM        =    ObjAsm $(ASMFlags)
  36.  
  37.  
  38. # -------------------------------------------------------
  39. # Everything below here should probably not be changed...
  40. # -------------------------------------------------------
  41.  
  42. # Here's what we want to make...
  43. #
  44. All:    $(ObjectFiles)
  45.  
  46.  
  47. # Rule for compiling C source code for a Straylight dynamically-linked library.
  48.  
  49. VPATH = @.^
  50.  
  51. .SUFFIXES:    .o .c .s
  52.  
  53. .c.o:
  54.     $(CC) -o $@ $<
  55.  
  56. .s.o:
  57.     $(ASM) $(ASMFlags) -from $< -to $@
  58.  
  59.  
  60.  
  61. # Dynamic dependencies:
  62. o.Create:    ^.c.Create
  63. o.Create:    C:h.stdlib
  64. o.Create:    DeskLib:h.Clear
  65. o.Create:    DeskLib:h.Wimp
  66. o.Create:    DeskLib:h.Core
  67. o.Create:    C:h.stddef
  68. o.Create:    C:DLLLib.h.dll
  69. o.Create:    C:h.kernel
  70. o.Create:    DeskLib:h.Mem
  71. o.Create:    DeskLib:h.Clear
  72. o.Create:    ^.h.ClearDefs
  73. o.Free:    ^.c.Free
  74. o.Free:    C:h.stdlib
  75. o.Free:    DeskLib:h.Clear
  76. o.Free:    DeskLib:h.Wimp
  77. o.Free:    DeskLib:h.Core
  78. o.Free:    C:h.stddef
  79. o.Free:    C:DLLLib.h.dll
  80. o.Free:    C:h.kernel
  81. o.Free:    DeskLib:h.Mem
  82. o.Init:    ^.c.Init
  83. o.Init:    DeskLib:h.Clear
  84. o.Init:    DeskLib:h.Wimp
  85. o.Init:    DeskLib:h.Core
  86. o.Init:    C:h.stddef
  87. o.Init:    C:DLLLib.h.dll
  88. o.Init:    C:h.kernel
  89. o.Init:    ^.h.ClearDefs
  90. o.Load:    ^.c.Load
  91. o.Load:    C:h.stdlib
  92. o.Load:    DeskLib:h.Clear
  93. o.Load:    DeskLib:h.Wimp
  94. o.Load:    DeskLib:h.Core
  95. o.Load:    C:h.stddef
  96. o.Load:    C:DLLLib.h.dll
  97. o.Load:    C:h.kernel
  98. o.Load:    DeskLib:h.File
  99. o.Load:    DeskLib:h.SWI
  100. o.Load:    DeskLib:h.Mem
  101. o.Save:    ^.c.Save
  102. o.Save:    C:h.string
  103. o.Save:    DeskLib:h.Clear
  104. o.Save:    DeskLib:h.Wimp
  105. o.Save:    DeskLib:h.Core
  106. o.Save:    C:h.stddef
  107. o.Save:    C:DLLLib.h.dll
  108. o.Save:    C:h.kernel
  109. o.Save:    DeskLib:h.File
  110. o.Save:    DeskLib:h.SWI
  111. o.Save:    DeskLib:h.Wimp
  112.